﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="BuySaleDetail.aspx.cs" Inherits="_1041326_1041339_1041433.UserPages.BuySaleDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <h3>CHI TIẾT TIN </h3>
<asp:GridView ID="gvTinTuc" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" ShowHeader="False" 
                    AllowPaging="True" 
                    PageSize="5">
                    <AlternatingRowStyle  CssClass="paddingrow" BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:HyperLink  CssClass="titlenews" ID="HyperLink1" runat="server" 
                                    NavigateUrl='<%# "/UserPages/BuySale.aspx?id="+Eval("MaTin") %>' 
                                    Text='<%# Eval("TieuDe") %>'></asp:HyperLink>
                                <br />
                                <asp:Image  CssClass="titlenews" ID="Image1" runat="server"
                                    ImageUrl='<%# "../Images/"+Eval("MaTin")+".jpg" %>' />
                                <br />
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle Font-Bold="True" ForeColor="White" />
                    <HeaderStyle Font-Bold="True" ForeColor="White" />
                    <PagerStyle ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                   
                </asp:GridView>
                <br />
                 <h3>
                   BÌNH LUẬN</h3>
                 <br />
                <asp:GridView ID="gvBinhLuan" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" ShowHeader="False" 
                    AllowPaging="True" 
                    PageSize="5">
                    <AlternatingRowStyle  CssClass="paddingrow" BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                 Người gửi:<asp:Label ID="Label3" ForeColor="Olive" runat="server" Text='<%# Eval("NguoiBinhLuan") %>'></asp:Label>
                               <br />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle Font-Bold="True" ForeColor="White" />
                    <HeaderStyle Font-Bold="True" ForeColor="White" />
                    <PagerStyle ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle  CssClass="paddingrow" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                   
                </asp:GridView>
</asp:Content>
